# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'main_win.ui'
#
# Created: Tue Aug  9 19:09:09 2011
#      by: PyQt4 UI code generator 4.8.3
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    _fromUtf8 = lambda s: s

class Ui_pypelab_mainwin(object):
    def setupUi(self, pypelab_mainwin):
        pypelab_mainwin.setObjectName(_fromUtf8("pypelab_mainwin"))
        pypelab_mainwin.resize(890, 713)
        self.centralwidget = QtGui.QWidget(pypelab_mainwin)
        self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
        self.horizontalLayout_3 = QtGui.QHBoxLayout(self.centralwidget)
        self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
        self.pipe_work_area = PipeWorkArea(self.centralwidget)
        self.pipe_work_area.setFrameShape(QtGui.QFrame.StyledPanel)
        self.pipe_work_area.setFrameShadow(QtGui.QFrame.Raised)
        self.pipe_work_area.setObjectName(_fromUtf8("pipe_work_area"))
        self.horizontalLayout_3.addWidget(self.pipe_work_area)
        pypelab_mainwin.setCentralWidget(self.centralwidget)
        self.menubar = QtGui.QMenuBar(pypelab_mainwin)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 890, 23))
        self.menubar.setObjectName(_fromUtf8("menubar"))
        self.menuFile = QtGui.QMenu(self.menubar)
        self.menuFile.setObjectName(_fromUtf8("menuFile"))
        pypelab_mainwin.setMenuBar(self.menubar)
        self.statusbar = QtGui.QStatusBar(pypelab_mainwin)
        self.statusbar.setObjectName(_fromUtf8("statusbar"))
        pypelab_mainwin.setStatusBar(self.statusbar)
        self.mainToolBar = QtGui.QToolBar(pypelab_mainwin)
        self.mainToolBar.setObjectName(_fromUtf8("mainToolBar"))
        pypelab_mainwin.addToolBar(QtCore.Qt.TopToolBarArea, self.mainToolBar)
        self.computationsDock = QtGui.QDockWidget(pypelab_mainwin)
        self.computationsDock.setFloating(False)
        self.computationsDock.setObjectName(_fromUtf8("computationsDock"))
        self.dockWidgetContents = QtGui.QWidget()
        self.dockWidgetContents.setObjectName(_fromUtf8("dockWidgetContents"))
        self.horizontalLayout = QtGui.QHBoxLayout(self.dockWidgetContents)
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.computationsListLW = QtGui.QListWidget(self.dockWidgetContents)
        self.computationsListLW.setStyleSheet(_fromUtf8("selection-color: rgb(255, 255, 255);"))
        self.computationsListLW.setEditTriggers(QtGui.QAbstractItemView.NoEditTriggers)
        self.computationsListLW.setDragEnabled(True)
        self.computationsListLW.setSelectionMode(QtGui.QAbstractItemView.SingleSelection)
        self.computationsListLW.setObjectName(_fromUtf8("computationsListLW"))
        self.horizontalLayout.addWidget(self.computationsListLW)
        self.computationsDock.setWidget(self.dockWidgetContents)
        pypelab_mainwin.addDockWidget(QtCore.Qt.DockWidgetArea(1), self.computationsDock)
        self.generatorsDock = QtGui.QDockWidget(pypelab_mainwin)
        self.generatorsDock.setObjectName(_fromUtf8("generatorsDock"))
        self.dockWidgetContents_2 = QtGui.QWidget()
        self.dockWidgetContents_2.setObjectName(_fromUtf8("dockWidgetContents_2"))
        self.horizontalLayout_2 = QtGui.QHBoxLayout(self.dockWidgetContents_2)
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.generatorsListLW = QtGui.QListWidget(self.dockWidgetContents_2)
        self.generatorsListLW.setStyleSheet(_fromUtf8("selection-color: rgb(255, 255, 255);"))
        self.generatorsListLW.setEditTriggers(QtGui.QAbstractItemView.NoEditTriggers)
        self.generatorsListLW.setDragEnabled(True)
        self.generatorsListLW.setDragDropMode(QtGui.QAbstractItemView.DragOnly)
        self.generatorsListLW.setObjectName(_fromUtf8("generatorsListLW"))
        self.horizontalLayout_2.addWidget(self.generatorsListLW)
        self.generatorsDock.setWidget(self.dockWidgetContents_2)
        pypelab_mainwin.addDockWidget(QtCore.Qt.DockWidgetArea(1), self.generatorsDock)
        self.formattersDock = QtGui.QDockWidget(pypelab_mainwin)
        self.formattersDock.setObjectName(_fromUtf8("formattersDock"))
        self.dockWidgetContents_3 = QtGui.QWidget()
        self.dockWidgetContents_3.setObjectName(_fromUtf8("dockWidgetContents_3"))
        self.verticalLayout = QtGui.QVBoxLayout(self.dockWidgetContents_3)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.formattersListLW = QtGui.QListWidget(self.dockWidgetContents_3)
        self.formattersListLW.setStyleSheet(_fromUtf8("selection-color: rgb(255, 255, 255);"))
        self.formattersListLW.setEditTriggers(QtGui.QAbstractItemView.NoEditTriggers)
        self.formattersListLW.setDragEnabled(True)
        self.formattersListLW.setDragDropMode(QtGui.QAbstractItemView.DragOnly)
        self.formattersListLW.setObjectName(_fromUtf8("formattersListLW"))
        self.verticalLayout.addWidget(self.formattersListLW)
        self.formattersDock.setWidget(self.dockWidgetContents_3)
        pypelab_mainwin.addDockWidget(QtCore.Qt.DockWidgetArea(1), self.formattersDock)
        self.actionNew = QtGui.QAction(pypelab_mainwin)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(_fromUtf8(":/icons/document-new.svg")), QtGui.QIcon.Normal, QtGui.QIcon.On)
        self.actionNew.setIcon(icon)
        self.actionNew.setObjectName(_fromUtf8("actionNew"))
        self.actionSave = QtGui.QAction(pypelab_mainwin)
        icon1 = QtGui.QIcon()
        icon1.addPixmap(QtGui.QPixmap(_fromUtf8(":/icons/document-save.svg")), QtGui.QIcon.Normal, QtGui.QIcon.On)
        self.actionSave.setIcon(icon1)
        self.actionSave.setObjectName(_fromUtf8("actionSave"))
        self.actionSaveAs = QtGui.QAction(pypelab_mainwin)
        icon2 = QtGui.QIcon()
        icon2.addPixmap(QtGui.QPixmap(_fromUtf8(":/icons/document-save-as.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionSaveAs.setIcon(icon2)
        self.actionSaveAs.setObjectName(_fromUtf8("actionSaveAs"))
        self.actionQuit = QtGui.QAction(pypelab_mainwin)
        icon3 = QtGui.QIcon()
        icon3.addPixmap(QtGui.QPixmap(_fromUtf8(":/icons/application-exit.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionQuit.setIcon(icon3)
        self.actionQuit.setObjectName(_fromUtf8("actionQuit"))
        self.actionOpen = QtGui.QAction(pypelab_mainwin)
        icon4 = QtGui.QIcon()
        icon4.addPixmap(QtGui.QPixmap(_fromUtf8(":/icons/gtk-open.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionOpen.setIcon(icon4)
        self.actionOpen.setObjectName(_fromUtf8("actionOpen"))
        self.menuFile.addAction(self.actionNew)
        self.menuFile.addAction(self.actionOpen)
        self.menuFile.addSeparator()
        self.menuFile.addAction(self.actionSave)
        self.menuFile.addAction(self.actionSaveAs)
        self.menuFile.addSeparator()
        self.menuFile.addAction(self.actionQuit)
        self.menubar.addAction(self.menuFile.menuAction())
        self.mainToolBar.addAction(self.actionNew)
        self.mainToolBar.addAction(self.actionOpen)
        self.mainToolBar.addAction(self.actionSave)
        self.mainToolBar.addSeparator()
        self.mainToolBar.addAction(self.actionQuit)

        self.retranslateUi(pypelab_mainwin)
        QtCore.QObject.connect(self.pipe_work_area, QtCore.SIGNAL(_fromUtf8("subWindowActivated(QMdiSubWindow*)")), pypelab_mainwin.enableIO)
        QtCore.QObject.connect(self.computationsListLW, QtCore.SIGNAL(_fromUtf8("doubleClicked(QModelIndex)")), self.pipe_work_area.create_new_computation)
        QtCore.QObject.connect(self.actionSave, QtCore.SIGNAL(_fromUtf8("activated()")), pypelab_mainwin.save)
        QtCore.QObject.connect(self.actionSaveAs, QtCore.SIGNAL(_fromUtf8("activated()")), pypelab_mainwin.saveAs)
        QtCore.QObject.connect(self.actionOpen, QtCore.SIGNAL(_fromUtf8("activated()")), pypelab_mainwin.open)
        QtCore.QObject.connect(self.actionQuit, QtCore.SIGNAL(_fromUtf8("activated()")), pypelab_mainwin.close)
        QtCore.QMetaObject.connectSlotsByName(pypelab_mainwin)

    def retranslateUi(self, pypelab_mainwin):
        pypelab_mainwin.setWindowTitle(QtGui.QApplication.translate("pypelab_mainwin", "PypeLab", None, QtGui.QApplication.UnicodeUTF8))
        self.menuFile.setTitle(QtGui.QApplication.translate("pypelab_mainwin", "File", None, QtGui.QApplication.UnicodeUTF8))
        self.mainToolBar.setWindowTitle(QtGui.QApplication.translate("pypelab_mainwin", "toolBar", None, QtGui.QApplication.UnicodeUTF8))
        self.computationsDock.setAccessibleName(QtGui.QApplication.translate("pypelab_mainwin", "Generators Box", None, QtGui.QApplication.UnicodeUTF8))
        self.computationsDock.setWindowTitle(QtGui.QApplication.translate("pypelab_mainwin", "Computations Box", None, QtGui.QApplication.UnicodeUTF8))
        self.generatorsDock.setWindowTitle(QtGui.QApplication.translate("pypelab_mainwin", "Generators box", None, QtGui.QApplication.UnicodeUTF8))
        self.generatorsListLW.setAccessibleName(QtGui.QApplication.translate("pypelab_mainwin", "generators", None, QtGui.QApplication.UnicodeUTF8))
        self.formattersDock.setWindowTitle(QtGui.QApplication.translate("pypelab_mainwin", "Formatters Box", None, QtGui.QApplication.UnicodeUTF8))
        self.formattersListLW.setAccessibleName(QtGui.QApplication.translate("pypelab_mainwin", "formatters", None, QtGui.QApplication.UnicodeUTF8))
        self.actionNew.setText(QtGui.QApplication.translate("pypelab_mainwin", "New", None, QtGui.QApplication.UnicodeUTF8))
        self.actionNew.setShortcut(QtGui.QApplication.translate("pypelab_mainwin", "Ctrl+N", None, QtGui.QApplication.UnicodeUTF8))
        self.actionSave.setText(QtGui.QApplication.translate("pypelab_mainwin", "Save", None, QtGui.QApplication.UnicodeUTF8))
        self.actionSave.setShortcut(QtGui.QApplication.translate("pypelab_mainwin", "Ctrl+S", None, QtGui.QApplication.UnicodeUTF8))
        self.actionSaveAs.setText(QtGui.QApplication.translate("pypelab_mainwin", "Save As...", None, QtGui.QApplication.UnicodeUTF8))
        self.actionSaveAs.setShortcut(QtGui.QApplication.translate("pypelab_mainwin", "Ctrl+Shift+S", None, QtGui.QApplication.UnicodeUTF8))
        self.actionQuit.setText(QtGui.QApplication.translate("pypelab_mainwin", "Quit", None, QtGui.QApplication.UnicodeUTF8))
        self.actionQuit.setShortcut(QtGui.QApplication.translate("pypelab_mainwin", "Ctrl+Q", None, QtGui.QApplication.UnicodeUTF8))
        self.actionOpen.setText(QtGui.QApplication.translate("pypelab_mainwin", "Open", None, QtGui.QApplication.UnicodeUTF8))
        self.actionOpen.setToolTip(QtGui.QApplication.translate("pypelab_mainwin", "Open", None, QtGui.QApplication.UnicodeUTF8))
        self.actionOpen.setShortcut(QtGui.QApplication.translate("pypelab_mainwin", "Ctrl+O", None, QtGui.QApplication.UnicodeUTF8))

from pypelab.ui.pipeworkarea import PipeWorkArea
import resources_rc
